﻿@model Arch.Samples.Model.Todo

        <legend>Todo</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Title)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Title)
            @Html.ValidationMessageFor(model => model.Title)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.GlobalCategory)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.GlobalCategoryId, ViewData["GlobalCategoryId"] as SelectList)
            @Html.ValidationMessageFor(model => model.GlobalCategoryId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SubCategory)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.SubCategoryId, ViewData["SubCategoryId"] as SelectList)
            @Html.ValidationMessageFor(model => model.SubCategoryId)
        </div>